package com.luo.partner.dao.mapper;

import java.util.List;

import com.luo.partner.dao.model.BaseModel;


public interface BaseMapper<T> {

    void add(T t);

    void update(T t);

    void updateBySelective(T t);

    void delete(Object id);

    int queryByCount(BaseModel model);

    List<T> queryByList(BaseModel model);

    T queryById(Object id);
}
